package top.ryw.ssm2.mapper;

import org.apache.ibatis.annotations.Param;
import top.ryw.ssm2.pojo.Dept;
import top.ryw.ssm2.pojo.User;

import java.util.List;

public interface DeptMapper {

    int insert(@Param("dept") Dept dept);

    Dept selectById(@Param("id") int id);

    List<Dept> selectList();
}
